package org.achartengine.internal;

import android.app.Activity;
import android.os.Bundle;
import androidx.core.view.InputDeviceCompat;
import org.achartengine.internal.chart.g;

/* loaded from: classes2.dex */
public class c extends Activity {
    @Override // android.app.Activity
    public void onCreate(Bundle bundle) {
        super.onCreate(bundle);
        double[] dArr = {12.0d, 14.0d, 11.0d, 10.0d, 19.0d};
        int[] iArr = {-16776961, -16711936, -65281, InputDeviceCompat.SOURCE_ANY, -16711681};
        org.achartengine.internal.renderer.a aVar = new org.achartengine.internal.renderer.a();
        aVar.a(15.0f);
        aVar.b(15.0f);
        aVar.a(new int[]{20, 30, 15, 0});
        for (int i = 0; i < 5; i++) {
            int i2 = iArr[i];
            org.achartengine.internal.renderer.b bVar = new org.achartengine.internal.renderer.b();
            bVar.b(i2);
            aVar.a(bVar);
        }
        org.achartengine.internal.model.a aVar2 = new org.achartengine.internal.model.a("Toto");
        int i3 = 0;
        for (int i4 = 0; i4 < 5; i4++) {
            double d = dArr[i4];
            StringBuilder sb = new StringBuilder();
            sb.append("Test ");
            i3++;
            sb.append(i3);
            aVar2.a(sb.toString(), d);
        }
        setContentView(new GraphicalView(this, new g(aVar2, aVar)));
    }
}
